package com.taoxi.good.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.taoxi.common.annotation.Excel;
import com.taoxi.common.core.domain.BaseEntity;

/**
 * 商品颜色管理对象 good_colour
 * 
 * @author ruoyi
 * @date 2024-10-22
 */
public class GoodColour extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 颜色id */
    private Long id;

    /** 颜色 */
    @Excel(name = "颜色")
    private String colour;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setColour(String colour) 
    {
        this.colour = colour;
    }

    public String getColour() 
    {
        return colour;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("colour", getColour())
            .toString();
    }
}
